package cz.acies.data.dao;

import java.util.ArrayList;
import java.util.List;

import cz.acies.data.persist.TreeNode;

public class UserFolderDAO extends MModelFolderDAO
{
	
	public UserFolderDAO() {}
	
	@Override
	public List<TreeNode> createFolders(List<String> tables) {
		List<TreeNode> data = new ArrayList<TreeNode>();
		try {
			TreeNode root = new TreeNode("WX.F.X00000000000000", "Uživatel");
			root.setAttribute("selectable", false);

			TreeNode node = new TreeNode("WX.F.X00000000000001", "Uživatel");
			node.setAttribute("selectable", true);
			root.addChild(node);

			data.add(root);

		} catch (Exception exc) {
			exc.printStackTrace();
		}
		return data;
	}

}
